package cn.calm.swing.osgi.api;

import java.util.HashMap;
import java.util.Map;

import javax.swing.ImageIcon;
import javax.swing.JPopupMenu;

import org.osgi.framework.ServiceRegistration;

import cn.calm.swing.osgi.api.entity.Project;

public interface ProjectService {
	String PROJECT_TYPE = "project.type";
	String PROJECT_ID = "project.id";
	Map<Long,ServiceRegistration<ProjectService>> projectServiceRegistration=new HashMap<Long, ServiceRegistration<ProjectService>>();
	Project getProject();

	void setProject(Project project);

	JPopupMenu getPopupMenu();

	ImageIcon getIcon();
}
